#include <REGX52.H>
#include <INTRINS.H>
void Delay200ms()		//@11.0592MHz
{
	unsigned char i, j, k;

	_nop_();
	_nop_();
	i = 9;
	j = 104;
	k = 139;
	do
	{
		do
		{
			while (--k);
		} while (--j);
	} while (--i);
}

void main(){
   while(1){
     P2 = 0xFE;
		 Delay200ms();
		 P2 = 0xFD;
		 Delay200ms();
		 P2 = 0xFB;
		 Delay200ms();
		 P2 = 0xF7;
		 Delay200ms();
		 P2 = 0xEF;
		 Delay200ms();
		 P2 = 0xDF;
		 Delay200ms();
		 P2 = 0xBF;
		 Delay200ms();
		 P2 = 0x7F;
		 Delay200ms();
   }
}